package net.xdclass.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author 孙浩
 * @since 2022-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("coupon_task")
public class CouponTaskDO implements Serializable {

  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  /**
   * 优惠券记录id
   */
  private Long couponRecordId;

  /**
   * 创建时间
   */
  private Date createTime;

  /**
   * 订单号
   */
  private String outTradeNo;

  /**
   * 锁定状态 锁定LOCK-完成FINISH 取消CANCEL
   */
  private String lockState;


}
